<?php
	include '../dbc.php';
		//Create restaurant_comment
	// user : user->id
	// restaurant : restaurant->id
	// is_blocked 	: 1 = true, 0 = false
	$sql05 = "CREATE TABLE IF NOT EXISTS restaurant_comment(
		id			int				NOT NULL AUTO_INCREMENT,
		user		int				NOT NULL,
		restaurant	int				NOT NULL,
		rating		int				NOT NULL,
		comment		varchar(1000)	NOT NULL,
		create_date	datetime		NOT NULL,
		is_blocked	int				NOT NULL,
		PRIMARY KEY(id)
	)";
	if(mysql_query($sql05,$con)){
		echo "Table created successfully - restaurant_comment <br>";
	}else{
		echo "Fail to create table - restaurant_comment <br>";
	}
	// restaurant_comment END
	
?>